package com.tbb.app.base.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "频道编辑传参对象")
public class ChannelUpdateDTO {

    @ApiModelProperty("id必填")
    @NotBlank(message = "id必填")
    private String id;

    @ApiModelProperty("频道名称，必填")
    @NotBlank(message = "频道名称必填")
    private String name;

}
